<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

{#{% for foo in person1.values %}#}
{#    {{ foo }}#}
{#{% endfor %}#}

{{ person1.name }}
{{ person1.age }}
{{ person1.gender }}

</body>
</html>